package com.lk.security.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @program: lk-security-parent
 * @description:
 * @author: Aspirin
 * @create: 2020-05-25 00:36
 */
@Component
@ConfigurationProperties(prefix = "lk.security")
@Getter
@Setter
public class SecurityProperties {
  /** 会将 lk.security.authentication 的值绑定到AuthenticationProperties对象上 */
  private AuthenticationProperties authentication;
}
